package com.paic.mhis.hcpms.warning.util;

import com.paic.mhis.hcpms.common.base.util.BaseConstants;

/**
 * @Description 常量类
 * @date 2014/5/9
 */

public class WarnConstants extends BaseConstants {
	// 预警
	public static final String TASK_TYPE = "01";
	// 日期分隔
	public static final String DIVIDE = "-";

	public static final String SELECT_SUCCESS = "查询成功！"; // 返回查询成功的值
	//
	// public static final String SELECT_FAILED = "查询失败！"; // 返回查询失败的值
	//
	// public static final String UPDATE_SUCCESS = "修改成功！"; // 返回修改成功的值

	// public static final String UPDATE_FAILED = "修改失败！";

	// public static final String DELETE_SUCCESS = "删除成功！"; // 返回逻辑删除成功的值

	// public static final String DELETE_FAILED = "删除失败！";

	// public static final String INSERT_SUCCESS = "添加成功！"; // 返回添加成功的值

	public static final String SAVE_SUCCESS = "保存成功！";

	public static final String SAVE_DOUBLE = "预警编号重复！";

	public static final String SAVE_FAILED = "保存失败！";

	public static final String INSERT_FAILED = "添加失败！";

	// public static final String SUBMIT_SUCCESS = "提交成功！"; // 提交成功！

	// public static final String SUBMIT_FAILED = "提交失败！";

	public static final String MSG_KEY = "msg"; // 返回消息标志

	public static final String STATE_KEY = "state"; // 返回成功或失败的标志

	public static final String SUCCESS_STATE_VALUE = "0"; // 返回状态成功的值

	public static final String FAILED_VALIDATE_STATE_VALUE = "1"; // 返回校验失败的值

	public static final String FAILED_STATE_VALUE = "2"; // 返回数据库异常失败的值

	// public static final String MSG_DATABASE_EXCEPTION = "系统访问数据库出错了，请联系管理员！";
	// // 返回数据库异常失败的值

	// public static final String MSG_ACCESS_DATABASE_EXCEPTION = "数据库访问异常！"; //
	// 返回数据库异常失败的值

	public static final String MSG_REQUEST_PARAMETER_ERROR = "访问系统的参数出错，请联系管理员！"; // 返回请求参数错误的值

	public static final String SUCCESS_RESULT_KEY = "result"; // 返回成功的结果

	public static final String RESULT_BUSINESS_WARN_KEY = "warnNo";// 返回预警任务NO
	public static final String AUDIT_TO_WARNING_SOURCE_OBJECT = "稽核转预警";

	public static final String BUSINESS_WARING = "YM";

	public static final String TARGET_TYPE_MEDICAL = "01";

	public static final String TARGET_TYPE_STAFF = "02";

	public static final String TARGET_TYPE_INSURANCE = "03";

	public static final String IS_VALID_0 = "0";// 有效

	public static final String IS_VALID_1 = "1";// 失效

	public static final String TASK_TYPE_WARNING = "01";// 任务类型-预警任务

	public static final String DOC_TYPE_NOTICE = "03";// 文档类型-通知书

	public static final String DOC_TYPE_TOLD = "02";// 文档类型-告知书

	public static final String TOTAL = "total";

	public static final String WARN_AGENT = "WARN_AGENT_ROLE";// 经办岗

	public static final String WARN_AUDIT = "WARN_AUDIT_ROLE";// 审核岗

	public static final String WARN_APPROVER = "WARN_APPROVER_ROLE";// 审批岗

	public static final String WARN_HOSPITAL = "HOSPITAL_ROLE";// 医院岗

	public static final String WARN_STATUS_1 = "N2014001";// 待分析

	public static final String WARN_STATUS_2 = "N2014002";// 待提交

	public static final String WARN_STATUS_3 = "N2014003";// 待修改

	public static final String WARN_STATUS_4 = "N2014004";// 待审核

	public static final String WARN_STATUS_5 = "N2014005";// 待反馈

	public static final String WARN_STATUS_6 = "N2014006";// 自查待确认

	public static final String WARN_STATUS_7 = "N2014007";// 待审定

	public static final String WARN_STATUS_8 = "N2014008";// 待审批

	public static final String WARN_STATUS_9 = "N2014009";// 已结案

	public static final String WARN_ISFEEDBACK_01 = "01";// 未反馈

	public static final String WARN_ISFEEDBACK_02 = "02";// 已反馈

	public static final String WARN_ISCHECKBACK_01 = "0";// 未退回

	public static final String WARN_ISCHECKBACK_02 = "1";// 退回

	public static final String WARN_PROCESS_TYPE_01 = "01";// 提醒

	public static final String WARN_PROCESS_TYPE_02 = "02";// 自查整改 改为书面

	public static final String WARN_PROCESS_TYPE_03 = "03";// 稽核 改为转稽核

	public static final String WARN_PROCESS_TYPE_04 = "04";// 约谈

	public static final String WARN_PROCESS_TYPE_05 = "05";// 其他

	public static final String WARN_SOURCE_06 = "06";// 主动预警

	public static final String WARN_SOURCE_07 = "07";// 智能预警

	public static final String WARN_SOURCE_08 = "08";// 稽核转预警

	public static final String WARN_PROCESS_BACK = "02";// 流程跳转不同意时

	public static final String WARN_PROCESS_NEXT = "01";// 流程跳转同意

	public static final String WARN_CHECK_AUDIT_RESULT_OK = "01";// 自查基本到位

	public static final String PROCESS_IN_POWER = "0";// 有操作权限
	public static final String PROCESS_OUT_POWER = "1";// 没有操作权限
	public static final String PROCESS_OUT_POWER_ERROR = "同组其他人员已经对其进行操作!";
	public static final String PROCESS_NOT_POWER = "2";// 流程节点已变更
	public static final String PROCESS_NOT_POWER_ERROR = "处理的节点已经变更!";
	public static final String TYPE_REGION_NAME = "region_name";
	public static final String TYPE_WARN_INSCRIBE = "warn_inscribe";

	public static final String WARN_MODULE_TYPE = "01";// 模块类型
	public static final String WARN_BUSINESS_WARN = "WARN_INFO";// 主对象(包括初审和审批)
	public static final String WARN_BUSINESS_MEDICAL = "MEDICAL";// 医疗机构
	public static final String WARN_BUSINESS_STAFF = "STAFF";// 医护人员
	public static final String WARN_BUSINESS_NOTICE = "NOTICE";// 通知单
	public static final String WARN_BUSINESS_INSUR = "INSURANCE";// 参保人
	public static final String WARN_BUSINESS_SCREEN = "SCREEN";// 网上筛查
	public static final String WARN_BUSINESS_ASSESS_LIST = "ASSESS_LIST";// 结论评估左
	public static final String WARN_BUSINESS_ASSESS = "ASSESS";// 结论评估右
	public static final String WARN_BUSINESS_RESULT_TOLD = "RESULT_TOLD";// 结果告知书
	public static final String WARN_BUSINESS_RESULT = "RESULT";// 结论审核
	public static final String WARN_BUSINESS_POINT = "POINT";// 扣分的业务类型

	public static final String WARN_PROCESS_REST_FAILED = "撤回失败！"; // 撤回
	public static final String WARN_PROCESS_REST_SUCCESS = "撤回成功！"; // 撤回

	public static final String WARN_BATCH_COUNT_SUCCESS = "COUNTSUCCESS"; // 批量提交成功数量
	public static final String WARN_BATCH_COUNT_FAILED = "COUNTFAILED"; // 批量提交失败数量
	public static final String WARN_BATCH_CHECK_FAILED = "CHECKFAILED"; // 验证不通过数量

}
